package com.cxz.study.ddd_project.infrastructure.repository.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cxz.study.ddd_project.infrastructure.model.dto.base.WhSerialNoRecordDTO;
import com.cxz.study.ddd_project.infrastructure.model.entity.base.WhSerialNoRecordDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: WhSerialnoRecordMapper
 * @author: ocxz1
 * @date: 2024/12/29 下午8:50
 * @Version: 1.0
 * @description: ddd_project1
 */
@Mapper
public interface WhSerialNoRecordMapper extends BaseMapper<WhSerialNoRecordDO> {

    /**
     * 列表查询
     * @param dto 查询条件，DTO
     * @return 返回查询的列表数据
     */
    List<WhSerialNoRecordDO> findList(@Param("dto") WhSerialNoRecordDTO dto);
}

    
    